#include "SimpleMediaFile.h"


using namespace Scenic::Renderer;


static ResourcePool simpleMediaFilePool;


SimpleMediaFile::SimpleMediaFile(const char *filename, Image *image)
: Resource(&simpleMediaFilePool)
{
//	this->filename = strdup(filename);
	this->image = image;
}

SimpleMediaFile::~SimpleMediaFile()
{
}

SimpleMediaFile *SimpleMediaFile::get(int id)
{
	return (SimpleMediaFile*)simpleMediaFilePool.get(id);
}

bool SimpleMediaFile::initRenderer()
{
}

void SimpleMediaFile::release()
{
}

void SimpleMediaFile::play()
{
}

void SimpleMediaFile::pause()
{
}

double SimpleMediaFile::getCurrentPosition()
{
	return 0.0;
}

void SimpleMediaFile::setCurrentPosition(double position)
{
}

double SimpleMediaFile::getLength()
{
	return 0.0;
}
